text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

# JavaScript 技能 : NPM 心得

# JavaScript 技能 : NPM 心得

Angular 9 implement a hover effect with directives

Angular 9 implement a hover effect with directives

來學 React 吧之四_Class component 介紹及與 Function component 的差異

來學 React 吧之四_Class component 介紹及與 Function component 的差異


Comments